<script src="${basePath}/plugins/flat-ui/assets/js/application.js"></script>

<div class="row">
  <div class="col-md-1"><span class="input-group-addon" id="sizing-addon1">活动名称</span></div>
  <div class="col-md-2"> 
  	<select data-toggle="select" class="form-control select select-inverse mrs mbm">
	    <option value="fenzhongzhuanxiang.html">分众专享</option>
	    <option value="PLUS2">PLUS2</option>
	    <option value="gourmet">吃货</option>
	    <option value="BINARY_CLUB">二进制</option>
	    <option value="topic_shilipai.html">实力派</option>
	</select>
  </div>
  <div class="col-md-1">
  	 <span class="input-group-addon" id="sizing-addon1">开始时间</span>
  </div>
  <div class="col-md-2"> 
	<input size="16" type="text" value=""  ng-model="activity.startTime" class="form_datetime    form-control" >
  </div>
  <div class="col-md-1"> 
  	<span class="input-group-addon" id="sizing-addon2">结束时间</span>
  </div>
  <div class="col-md-2">
  	<input size="16" type="text" value=""  ng-model="activity.endTime" class="form_datetime    form-control" >
  </div>
  <div class="col-md-1">	   
	  <button class="btn btn-primary" type="button" ng-click="query()">点我查询!</button>	       
  </div>
   <div class="col-md-1">
  	   <button class="btn btn-primary" type="button" ng-click="query()">导出数据!</button>
  </div>

</div>

<div class="panel panel-default">
	  <div class="panel-heading">
	    	<h3 class="panel-title">申请用户【注：新老用户只代表提交表单时用户是否是拉勾用户】</h3>
	  </div>
	  <!-- Table -->
	  <table class="table">
	  	 <tr> 
		        <th>姓名</th> 
		        <th>公司名称</th> 
		        <th>邮箱</th> 
		        <th>联系方式</th> 
		        <th>报名时间</th> 
		        <th>活动类型</th> 
		        <th>职位类别</th> 
		        <th>职位名称</th> 
		        <th>城市</th> 
		        <th>用户类型</th> 
		 </tr>
		 <tr ng-repeat="u in rows">
		    	<td>{{u.name}}</td>
		    	<td>{{u.companyName}}</td>
		    	<td>{{u.email}}</td>
		    	<td>{{u.contact}}</td>
		    	<td>{{u.createTime}}</td>
		    	<td>{{u.type}}</td>
		    	<td>{{u.positionCategory}}</td>
		    	<td>{{u.positionName}}</td>		    	
		    	<td>{{u.city}}</td>
		    	<td>
		    		<span ng-if='!u.usertype'>新用户</span>
		    		<span ng-if='u.usertype'>老用户</span>
		    	</td>
		 </tr>
	  </table>
	  
</div>

<style>
        .page-list .pagination {float:left;}
        .page-list .pagination span {cursor: pointer;}
        .page-list .pagination .separate span{cursor: default; border-top:none;border-bottom:none;}
        .page-list .pagination .separate span:hover {background: none;}
        .page-list .page-total {float:left; margin: 25px 20px;}
        .page-list .page-total input, .page-list .page-total select{height: 26px; border: 1px solid #ddd;}
        .page-list .page-total input {width: 40px; padding-left:3px;}
        .page-list .page-total select {width: 50px;}
        .pagination li > a, .pagination li > span{color:#337ab7}
        .select {min-width: 160px;
}
 </style>

 <tm-pagination conf="paginationConf"></tm-pagination>
